package com.liming.common.pojo.vo.dashboard.feign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author liming
 * @date 2025/3/12
 */
@Data
@AllArgsConstructor
@Schema(description = "Feign用户消费排行")
public class FeignUserConsumeRankVO {

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "订单数量")
    private Integer orderCount;

    @Schema(description = "消费金额")
    private BigDecimal consumeAmount;

    @Schema(description = "最近下单时间")
    private LocalDateTime lastOrderTime;
}
